import { ConfigService } from '../../../core/common/config.service';
import { BaseService } from '../../../core/service/base.service';
import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { Observable } from 'rxjs/Rx';
@Injectable()
export class ChannelService extends BaseService {
  constructor(protected http: Http, protected config: ConfigService) {
    super(http, config);
  }
  public getChannels(pageNum: number, pageSize: number): Observable<any> {
    const url = 'service=ChnlService&method=getChnlList';
    return super.query(url, null, pageNum, pageSize);
  }
}
